#include <stdio.h>
/*学习使用按位与*/

void main()
{
    int a,b;
    a=077;
    b=a&3;
    printf("The a & 3 is:%d",b);
    b&=7;
    printf("The b & 7 is :%d",b);
}